/************************************************************
	File:		BitmapFont.h
	Author:		Roberto Crespo, Keisuke Miyazaki
	Purpose:	Handles Game Font
************************************************************/
#ifndef BITMAPFONT_H_
#define BITMAPFONT_H_
#include "..\..\SGD Wrappers\CSGD_Direct3D.h"

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

class CAnimation; 
class CBitmapFont
{
public:
	enum FONT{ Cursive = 0, Arial };
	FONT m_fFontType;

	CBitmapFont( void );
	~CBitmapFont(void){}

	void Initialize();
	void Terminate();
	void SetFont( FONT _Font );

	void Draw(	const TCHAR* strOutput, int nX, int nY, float fScale, DWORD dwColor ) const;

	private:
		RECT CellAlgorithm( int _id ) const;

		int			m_nImageID;

		int			m_nCharWidth;
		int			m_nCharHeight;
		int			m_nNumCols;
		int			m_nNumRows;

		TCHAR		m_cFirstChar;
};

#endif //BITMAPFONT_H_

